package com.sys.dao;

import java.sql.SQLException;
import java.util.List;

import com.sys.domain.Download;

public interface DownLoadDao {
	/**
	 * @Title: insertDownLoad 
	 * @Description: TODO(插入下载记录) 
	 * @param download
	 * @throws SQLException
	 * @return Boolean
	 */
	public Boolean insertDownLoad(Download download) throws SQLException;
	
	/**
	 * @Title: deleteDownLoadRecord 
	 * @Description: TODO(删除用户的下载记录)
	 * @param download
	 * @throws SQLException
	 * @return Boolean
	 */
	public Boolean deleteDownLoadRecord(Download download) throws SQLException;
	
	/**
	 * @Title: findSelfDownRecord 
	 * @Description: TODO(查询某人下载记录) 
	 * @param userId
	 * @return List<Download>
	 * @throws SQLException
	 */
	public List<Download> findSelfDownRecord(String userId) throws SQLException;
}
